package com.jialanmo.helper.viewpager;

import android.support.v4.view.PagerAdapter;
import android.view.ViewGroup;

import java.util.List;

public abstract class BasePagerAdapter<T> extends PagerAdapter {

    public abstract List<T> getData();

    public abstract T instantiateItem(ViewGroup container, int position);

    public abstract void destroyItem(ViewGroup container, int position, Object object);

    public abstract void resetData(List<T> data);
}
